<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>hash前端路由</title>
		<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
		<script src="./route/list.js"></script>
		<script src="./route/hash.js"></script>
	</head>
	<body>
		<div id="page"></div>
	</body>
</html>
<script type="text/javascript">
	$.router =router
	$.router.render(routeList);
	window.addEventListener('hashchange', e => {
	  $.router.render(routeList);
	});
</script>

